<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>

    <form th:action="@{/cc}" method="post">
        <input  type="submit" value="添加用户">
    </form>

    <table>
        <tr>
            <th>#</th>
            <th>Name</th>
            <th>xb</th>
            <th>age</th>
            <th>操作</th>
        </tr>
        <tr th:each="curd:${all} ">
            <td th:text="${curd.id}"></td>
            <td th:text="${curd.name}"></td>
            <td th:text="${curd.xb}"></td>
            <td th:text="${curd.age}"></td>
            <td>
                <a th:href="@{/d/} + ${curd.id}">删除</a>
                <a th:href="@{/u/} + ${curd.id}">修改</a>
            </td>
        </tr>
    </table>

</body>
</html>